package com.leimo.demo;

import com.leimo.demo.action.HelloAction;
import org.apache.log4j.Logger;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

@SpringBootApplication
public class ConsumerApplication {

  private static Logger logger = Logger.getLogger(ConsumerApplication.class);

  public static void main(String[] args) {
    AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext();
    HelloAction bean = context.getBean(HelloAction.class);
  }

}
